package cn.itcast.jx.service;

import java.io.Serializable;
import java.util.List;

import cn.itcast.jx.domain.Dept;
import cn.itcast.jx.util.Page;

public interface IDeptService {

	public Page<Dept> findPage(String hql,Page page,Class<Dept> entityClass,Object[] params);

	public List<Dept> find(String hql, Class<Dept> class1, Object[] params);

	public void saveOrUpdate(Dept model);
	public Dept get(Class<Dept> entityClass, Serializable id);

	public void delete(String[] ids);
	
	public List<Dept> removeDept(List<Dept> deptList,Dept dept);


}
